package cn.lucky.springcloud.service;

import cn.lucky.springcloud.entities.CommonResult;
import cn.lucky.springcloud.entities.Payment;
import org.springframework.stereotype.Component;

/**
 * @author lingpeng.jiang
 * @create 2021-02-04-0:10
 */
@Component
public class ConsumerOrderHandle implements ConsumerOrderService{

    public CommonResult<Payment> getPayment(Long id){
        return new CommonResult<Payment>(400,"熔断降级",null);
    }
}
